package com.matt.domain.hintdot;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "tb_red_point")
@Data
@EqualsAndHashCode(callSuper = true)
public class RedPoint extends Domain{

    @Column(columnDefinition = "varchar(255) COMMENT '红点路径'")
    private String pointPath;

    @Column(columnDefinition = "varchar(64) COMMENT '用户id'")
    private String staffId;

    @Column(columnDefinition = "varchar(32) COMMENT '用户名字'")
    private String staffName;

    @Column(columnDefinition = "varchar(64) COMMENT '园所Id'")
    private String areaId;

    @Column(columnDefinition = " int DEFAULT 0 COMMENT '红点数量' ")
    private Integer redNum;

    @Column(columnDefinition = "varchar(64) COMMENT '角色编码'")
    private String roleCode;

    @Column(columnDefinition = "varchar(64) COMMENT '孩子编码'")
    private String childrenId;

}
